package com.ruoyi.repairUnit.mapper;

import java.util.List;

import com.ruoyi.project.domain.HouseProjectT;
import com.ruoyi.project.domain.HouseRepairCheckT;
import com.ruoyi.repairUnit.domain.HouseRepairUnitT;

/**
 * 户资金修改Mapper接口
 *
 * @author tyq
 * @date 2023-05-24
 */
public interface HouseRepairUnitTMapper
{
    /**
     * 查询户资金修改
     *
     * @param doorId 户资金修改主键
     * @return 户资金修改
     */
    public HouseRepairUnitT selectHouseRepairUnitTByDoorId(Long doorId);

    /**
     * 查询户资金修改列表
     *
     * @param houseRepairUnitT 户资金修改
     * @return 户资金修改集合
     */
    public List<HouseRepairUnitT> selectHouseRepairUnitTList(HouseRepairUnitT houseRepairUnitT);

    public HouseRepairUnitT selectHouseRepairUnitSum(HouseRepairUnitT houseRepairUnitT);
    /**
     * 新增户资金修改
     *
     * @param houseRepairUnitT 户资金修改
     * @return 结果
     */
    public int insertHouseRepairUnitT(HouseRepairUnitT houseRepairUnitT);

    /**
     * 修改户资金修改
     *
     * @param houseRepairUnitT 户资金修改
     * @return 结果
     */
    public int updateHouseRepairUnitT(HouseRepairUnitT houseRepairUnitT);

    /**
     * 删除户资金修改
     *
     * @param doorId 户资金修改主键
     * @return 结果
     */
    public int deleteHouseRepairUnitTByDoorId(Long doorId);

    /**
     * 批量删除户资金修改
     *
     * @param doorIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHouseRepairUnitTByDoorIds(Long[] doorIds);

    public int updateProjectForTrueMoney(HouseProjectT projectVO);

    public int updateRepair(HouseRepairUnitT vo);

    public int insertRepairCheck(HouseRepairCheckT houseRepairCheckO);

    public int updateProjectMoneyForCheck(HouseProjectT houseProjectT);

    public int updateRepairMoneyForCheck(HouseRepairUnitT houseRepairUnitVO);


    public HouseRepairUnitT selectHouseProjectTByProjectId(HouseRepairUnitT houseRepairUnitT);
    public HouseRepairUnitT getRepairDetail(HouseRepairUnitT houseRepairUnitT);
}
